
from django.conf.urls import url

from . import views
from . import searchmongo
urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^hot$', views.hot, name='hot'),
    url(r'^about$', views.about, name='about'),
    url(r'^strange$', views.strange, name='strange'),
    url(r'^press', views.press, name='view'),
    url(r'^search_title/(.+)$', views.search_page, name='search_page'),

    #搜索用API
    url(r'^search/title/(.*)$', views.search_title, name='search_title'),
]

